package com.sooth.system.user.mapper;

import com.dream.system.annotation.Mapper;
import com.dream.system.annotation.Param;
import com.dream.system.annotation.Sql;

@Mapper
public interface SysUserRoleMapper {
    @Sql("""
            DELETE
            FROM
            	sys_user_role
            WHERE
            	user_id =:userId
            """)
    Integer deleteByUserId(@Param("userId") Long userId);
}
